﻿using System.Collections.Generic;
using ControleRepresentante.Logic.Models;
using WebSite.ViewModels.Fields;

namespace WebSite.ViewModels.ViewModelExtensions.DetailsViewModelExtensions
{
    public class PedidoJolitexDetailsViewModel : JolitexDetailsViewModel<Pedido>
    {
        protected override IEnumerable<IField> GetGeralAdditionalFields(Pedido model)
        {
            yield return new LabelField("Pedido Jolitex", "codigoJolitex", model.PedidoJolitex.Codigo);
            yield return new LabelField("Sincronizado", "sincronizado", model.PedidoJolitex.Sincronizado);
        }
    }
}